package com.yitao.client.dto.product;

import lombok.Data;
import java.util.Date;
import java.util.List;
import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;


/**
 *
 *  @author skipper
 *  @date 2019-02-26
 *  @desc  如该dto不需要id继承 BaseDto 即可 如需id 则根据情况选择  BaseDtoWithId  或 BaseDtoWithStringId
 *  @see
 */

public class ProductStockDto extends BaseDto {


    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;


    /**
     * 库存类型 1：手工实际库存；2：对接实际库存，3：虚拟库存
     */
    @ApiModelProperty("库存类型 1：手工实际库存；2：对接实际库存，3：虚拟库存")
    private Integer stockType;


    /**
     * 库存code
     */
    @ApiModelProperty("库存code")
    private String stockCode;


    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private Long productId;


    /**
     * 商品code
     */
    @ApiModelProperty("商品code")
    private String productCode;


    /**
     * sku id
     */
    @ApiModelProperty("sku id")
    private Long skuId;


    /**
     * 商品skucode
     */
    @ApiModelProperty("商品skucode")
    private String skuCode;


    /**
     * 实库数
     */
    @ApiModelProperty("实库数")
    private Integer entityStock;


    /**
     * 手工虚拟库
     */
    @ApiModelProperty("手工虚拟库")
    private Integer virtualStock;


    /**
     * 对接库存数
     */
    @ApiModelProperty("对接库存数")
    private Integer manualStock;


    /**
     * 是否可用 0 否 1 是
     */
    @ApiModelProperty("是否可用 0 否 1 是")
    private Integer isEnable;


    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 最后更新人
     */
    @ApiModelProperty("最后更新人")
    private Long lastUpdateBy;


    /**
     * 最后修改时间
     */
    @ApiModelProperty("最后修改时间")
    private Date lastUpdateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStockType() {
        return stockType;
    }

    public void setStockType(Integer stockType) {
        this.stockType = stockType;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public Integer getEntityStock() {
        return entityStock;
    }

    public void setEntityStock(Integer entityStock) {
        this.entityStock = entityStock;
    }

    public Integer getVirtualStock() {
        return virtualStock;
    }

    public void setVirtualStock(Integer virtualStock) {
        this.virtualStock = virtualStock;
    }

    public Integer getManualStock() {
        return manualStock;
    }

    public void setManualStock(Integer manualStock) {
        this.manualStock = manualStock;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }


}